package models

import "gitee.com/dromara/carbon/v2"

// MemberRight 会员权益
type MemberRight struct {
	LevelId   int64         `json:"level_id" gorm:"level_id"`
	RightId   int64         `json:"right_id" gorm:"right_id"`
	CreatedAt carbon.Carbon `json:"created_at" gorm:"created_at"`
	UpdatedAt carbon.Carbon `json:"updated_at" gorm:"updated_at"`
}

// TableName 表名称
func (*MemberRight) TableName() string {
	return "member_right"
}
